/*接口文件*/
import request from '@/utils/request'
// http://127.0.0.1:8088/   http:127.0.0.1:8090/ruoyi-fast/t-user/getAll?token=123456789

//获取所有用户数数据
export function getAllUserData() {
    return request({
        url: "/ruoyi-fast/t-user/getAll",
        method: "get",
        params: {},
        data: {},
    })
}


//获取人名
export function getName(name) {
    return request({
        url: "/ruoyi-fast/t-user/getName",
        method: "post",
        params: {
            name: name,
        },
        data: {
            name: "张三",
            age: "22",
            sex: "男"
        }
    })
}





//调取json文件中的假数据
export function getJsonData() {
    return request({
        url: "http://8.135.102.90:8810/json/test_data.json",
        method: "get",
    })
}

